package bulidStream;

import java.util.Arrays;

/**
 * @Author wangtengyu
 * @Create 2018-06-06-16:12
 * 由数组创建流 返回的是intStream流
 */
public class ArrayDemo {
    public static void main(String[] args) {
        int[] numbers={2,3,5,7,11,13};
        System.out.println(Arrays.stream(numbers).sum());
    }


}
